<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/10/19
  Time: 10:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@ include file="/pages/common/head.jsp" %>
    <script type="text/javascript" src="static/js/wangEditor.js"></script>
    <script type="text/javascript">
        $(function () {
            const E = window.wangEditor
            const editor = new E('#div1')
            // 或者 const editor = new E( document.getElementById('div1') )
            editor.create()
        })

    </script>

</head>
<body>
<div id="div1">
    <p>欢迎使用 <b>wangEditor</b> 富文本编辑器</p>
</div>

</body>
</html>
